package cn.emove.modular.system.service;


import cn.emove.core.common.page.LayuiPageFactory;
import cn.emove.modular.system.entity.Comment;
import cn.emove.modular.system.entity.Payment;
import cn.emove.modular.system.mapper.CommentMapper;
import cn.emove.modular.system.mapper.PaymentMapper;
import cn.stylefeng.roses.core.datascope.DataScope;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class CommentService extends ServiceImpl<CommentMapper, Comment> {
    public Page<Map<String, Object>> selectComments(DataScope dataScope, String orderNo, String shopName, String beginTime, String endTime, String shopAdr, String servicePoint, String speedPoint, String qualityPoint) {
        Page page = LayuiPageFactory.defaultPage();
        return this.baseMapper.selectComments(page,dataScope,orderNo, shopName,beginTime, endTime,shopAdr,servicePoint,speedPoint,qualityPoint);
    }
}
